<%-- 
    Document   : ResultSearchAccountant
    Created on : 08/04/2014, 00:45:56
    Author     : Adriano
--%>

<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="h" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

 
<form  class="allFormContador" id="searchEditAccountantForm">
    <jsp:useBean id="Contador" type="model.Accountant" scope="session"/> 

    <fieldset class="form container contador">
        <div class="title">
            <span class="h1">Cadastro de Contador </span>
        </div>
      
        <input type="hidden"  name="txtId"  value="${Contador.txtId}"/> 
        <div class="form-field name">
            <label>Nome:</label> 
            <input type="text"  class="form-control user-counter" name="txtNome" maxlength="80" value="${Contador.txtNome}" readonly="true" onblur="validateName(this);"/> 
            <span class="validacao name"></span>
        </div>
        <div class="form-field cpf">
            <label>CPF: </label> 
          
            <input type="text" class="form-control counter-cpf"  value="${Contador.txtCpf}" name="txtCpf" maxlength="11" readonly="true" />
            <span class="validacaocpf"></span>
        </div>
        <div class="form-field assinatura">
            <label>Tipo:</label> 
            <select name="lstAssinatura" class="form-control profile" id="lstAssinatura" onblur="validateProfile(this);"> 
                <option value="${Contador.lstAssinatura}" >${Contador.lstAssinatura}</option>
            </select>
        </div>

        <div class="form-field crc">
            <label class="labelcrc">CRC:</label> 
            <input type="text" class="form-control counter-crc" name="txtCrc"  value="${Contador.txtCrc}" maxlength="10" readonly="true"/>
            <span class="validacao crc"></span>
        </div>
        <div class="form-field uf">
            <label class="lableuf">UF:</label> 
            <select  class="form-control lstUF" name="lstUF" id="estados" onchange="validateUf(this);">>

                <option value="${Contador.lstUF}">${Contador.lstUF}<option>

            </select>
        </div>
        <div class="form-actions buttonsActionAccountant" >
            <input type="button" onclick="disabledEdit()" id="btnEditar" class="button-black search"  value="Editar">
            <input type="button"  id="btnAtualizar" class="button-black "  value="Atualizar" onclick="doAjaxPostUpdateAccount(); return false;">
        </div>

    </fieldset>


</form>
                 <div id="mascara" class="fechar">
            <img id="load_gif" title="Carregando" alt="Carregando" src="resources/images/load.gif"/>
        </div>
